<?php 
$controller = Yii::app()->controller->id;  
$action = $this->getAction()->getId(); 
$controlleraction = strtolower($controller.$action);
$typecontrolleraction=isset($_GET['type'])?$controlleraction.$_GET['type']:$controlleraction;
?>
 <button class="btn btn-mini btn-primary" style='position:absolute;top:5px;right:10px;' type="button" id='btnleftmenu' onclick='checkaaa()'><?=isset($_COOKIE['showleftmenu'])&&$_COOKIE['showleftmenu']=="hide"?"显示":"隐藏"?></button>

<div class="well sidebar-nav" id="leftmenu" <?=isset($_COOKIE['showleftmenu'])&&$_COOKIE['showleftmenu']=="hide"?"style='display:none'":""?> >
	<ul class="nav nav-list">
        <li class="nav-header">个人设置</li>
        <div class="divider"></div>
        <li <?=$controlleraction=="adminview"?'class="active"':""?>><a href="<?=Yii::app()->createUrl("admin/admin/view")?>"><i class="icon-user"></i> 个人信息</a></li>
		<li class="nav-header">首页动态图</li>
        <div class="divider"></div>
        <li <?=$controlleraction=="adminview"?'class="active"':""?>><a href="<?=Yii::app()->createUrl("admin/banner/index")?>"><i class="icon-user"></i> 首页动态图</a></li>
		<li class="nav-header">HItewell</li>
		<div class="divider"></div>        	
		<li <?=$controlleraction=="contenteraboutus"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/aboutus")?>"><i class="icon-list"></i> 关于HItewell</a></li>	
		<li <?=$controlleraction=="contentergroupintro"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/groupintro")?>"><i class="icon-list"></i> 集团介绍</a></li>
		<!--li <?=$controlleraction=="contentergroupqua"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/groupqua")?>"><i class="icon-list"></i> 集团资质</a></li-->
		<!--li <?=$controlleraction=="contenterhitewellintro"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/hitewellintro")?>"><i class="icon-list"></i> HItewell公司介绍</a></li-->
		<li class="nav-header">行业应用</li>
		<div class="divider"></div>        	
		<li <?=$controlleraction=="contenterdianli"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/dianli")?>"><i class="icon-list"></i> 电力行业</a></li>	
		<li <?=$controlleraction=="contentershihua"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/shihua")?>"><i class="icon-list"></i> 石化</a></li>
		<li <?=$controlleraction=="contentershuichuli"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/shuichuli")?>"><i class="icon-list"></i> 水处理</a></li>
		<!--li <?=$controlleraction=="contenterlianyou"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/lianyou")?>"><i class="icon-list"></i> 炼油</a></li-->
		<li <?=$controlleraction=="contentergangtie"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/gangtie")?>"><i class="icon-list"></i> 钢铁</a></li>
		<li <?=$controlleraction=="contenterqita"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/qita")?>"><i class="icon-list"></i> 其他</a></li>
		<!--li <?=$controlleraction=="contenterzaozhi"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/zaozhi")?>"><i class="icon-list"></i> 造纸、制浆</a></li-->
		<!--li <?=$controlleraction=="contenterhedian"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/hedian")?>"><i class="icon-list"></i> 核电</a></li-->
		<li class="nav-header">产品展示</li>
		<li <?=$controlleraction=="categoryindex"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/category/index")?>"><i /class="icon-list"></i> 产品分类</a></li>	
		<li <?=$controlleraction=="productadd"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/product/add")?>"><i /class="icon-list"></i> 添加产品</a></li>	
		<li <?=$controlleraction=="productindex"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/product/index")?>"><i /class="icon-list"></i> 产品列表</a></li>	
		<li class="nav-header">新闻中心</li>
		<li <?=$controlleraction=="newsadd"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/news/add")?>"><i /class="icon-list"></i> 添加新闻</a></li>	
		<li <?=$controlleraction=="newsindex"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/news/index")?>"><i /class="icon-list"></i> 新闻列表</a></li>	
		<li class="nav-header">服务中心</li>
		<li <?=$controlleraction=="servicecenteradd"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/servicecenter/add")?>"><i /class="icon-list"></i>  添加服务</a></li>	
		<li <?=$controlleraction=="servicecenterindex"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/servicecenter/index")?>"><i /class="icon-list"></i> 服务列表</a></li>	
		<li class="nav-header">公司资质</li>
		<li <?=$controlleraction=="zizhiadd"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/zizhi/add")?>"><i /class="icon-list"></i> 添加资质</a></li>	
		<li <?=$controlleraction=="zizhiindex"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/zizhi/index")?>"><i /class="icon-list"></i> 资质列表</a></li>	
		<li class="nav-header">联系我们</li>
		<li <?=$controlleraction=="contactusadd"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contactus/add")?>"><i /class="icon-list"></i> 添加联系我们</a></li>	
		<li <?=$controlleraction=="contactusindex"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contactus/index")?>"><i /class="icon-list"></i> 联系我们列表</a></li>	
		<li class="nav-header">下载中心</li>
		<li <?=$controlleraction=="downdetailadd"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/downdetail/add")?>"><i /class="icon-list"></i> 上传文件</a></li>	
		<li <?=$controlleraction=="downdetailindex"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/downdetail/index")?>"><i /class="icon-list"></i> 文件列表</a></li>	
		<div class="divider"></div>
		<li class="nav-header">公司动态</li>
		<li <?=$controlleraction=="contentergongsidongtai"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/gongsidongtai")?>"><i class="icon-list"></i> 公司动态</a></li>	
		<div class="divider"></div>
		<li class="nav-header">产品动态</li>
		<div class="divider"></div>
		<li <?=$controlleraction=="contenterchanpindongtai"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/chanpindongtai")?>"><i class="icon-list"></i> 产品动态</a></li>	
		<li class="nav-header">联系我们</li>
		<div class="divider"></div>
		<li <?=$controlleraction=="contenterindex"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/index")?>"><i class="icon-list"></i> 联系我们</a></li>	
		<li class="nav-header">常见问题</li>
		<div class="divider"></div>
		<li <?=$controlleraction=="contenteraq"?'class="active"':""?> ><a href="<?=Yii::app()->createUrl("admin/contenter/aq")?>"><i class="icon-list"></i> 常见问题</a></li>
		
        
		
	</ul>
</div>
<!--/.well -->